package com.renli.service;

import com.renli.pojo.Login;
import com.renli.pojo.Permission;

import java.util.List;

public interface PermissionService {

    List<Permission> findByLogin(Login login);

    List<Permission> findPermByUserId(Integer menuId, Integer userId);

    List<Permission> findByRoleId(Integer id);
}
